using System;

namespace Thinxoft.HttpLib
{
	/// <summary>
	/// Encapsulates the resource requested by the client  application
	/// </summary>
	public interface IHttpResource
	{	

		/// <summary>
		/// returns the full query of the request
		/// </summary>
		string Query
		{
			get
				;
		}

		/// <summary>
		/// returns the path to the resource and the query
		/// </summary>
		string PathAndQuety
		{
			get
				;
		}

		/// <summary>
		/// returns the filename of the resource
		/// </summary>
		string FileName
		{
			get
				;
		}


		/// <summary>
		/// returns the filename without extension of the resource
		/// </summary>
		string FileNameWithoutExtension
		{
			get
				;
		}

		/// <summary>
		/// returns the file e xtension of the  resource
		/// </summary>
		string FileExtension
		{
			get
				;
		}
	}
}
